package engine.newUi
{
	import engine.ui.lite.BaseUI;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.button.NxButton;
	import flash.display.MovieClip;
	import newx.com.control.table.NxTable;
	import newx.com.control.text.NxLabel;

	/**
	 *精英副本攻略 
	 * @author liuel
	 * 
	 */	
	public class WarfareUI extends BaseUI
	{
		private static var _self	:WarfareUI;
		
		public var viegroup:NxViewGroup;
		public var closebtn:NxButton;
		public var bgmc:MovieClip;
		public var nxtable:NxTable;
		public var titlelabel:NxLabel;
		public var title:MovieClip;
		public var mc:MovieClip;
		public static function getInstance():WarfareUI
		{
			if(_self == null)
			{
				_self =new WarfareUI();
			}
			return _self;
		}
		public function WarfareUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function Init():void 
		{
			
			WarfareLogic.getInstance().init();
			nxtable.mouseChildren=false;
		}
		override protected function AfterHide():void 
		{
			WarfareLogic.getInstance().AfterHide();	
		}
		override protected function BeforeShow():void 
		{
			WarfareLogic.getInstance().BeforeShow();	
		}
	}
}